<template>
    <Chart :cdata="cdata" />
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      cdata: [
          { name: '总数', value: 210, unit: '个', pos: ['25%', '30%'], range: [0, 500],colora:'#1db0d2',colorb:'#44ceef' },
          { name: '报警', value: 200, unit: '', pos: ['75%', '30%'], range: [0, 210],colora:'#e6658f',colorb:'#f8a58b' },
          { name: '异常', value: 3, unit: '', pos: ['25%', '80%'], range: [0, 210],colora:'#1ea899',colorb:'#29c582' },
          { name: '电量低', value: 25, unit: '', pos: ['75%', '80%'], range: [0, 210],colora:'#c188f4',colorb:'#f2a6c8' }

      ]
    }
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
</style>
